package com.szl.group.entity;

import com.szl.group.domain.BaseDO;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author shenxl
 * @since 2020-06-21
 */
@Data
@EqualsAndHashCode(callSuper = true, exclude = "password")
@Accessors(chain = true)
@TableName("sys_user")
@ApiModel(value = "SysUserDO对象", description = "用户信息表")
public class SysUserDO extends BaseDO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "组织id")
    private Integer orgId;

    @ApiModelProperty(value = "0无效用户，1是有效用户")
    private Integer enabled;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "email")
    private String email;


}
